<?php
/*
 *  @author Nicolas Genevaux
 * (c)nige 2008
 */
?>
<?php include("../include/haut.php"); ?>
<?php include("../inc/rea.test_index.php"); ?>
<div id="titreInscription" class="titreInscription">
	<span class="title">
		Question <?= $_SESSION['questioncourante']+1 ?>/40 :
		<?= $_SESSION['questions'][$_SESSION['questioncourante']]['matiere'] ?>
	</span>
</div>
<form method="post" action="">
	<div id="inscriptionLogin" class="inscriptionLogin">
		<b>R&eacute;ponse pr&eacute;c&eacute;dente : </b><?= $_SESSION['questions'][$_SESSION['questioncourante']-1]['choix'.$_SESSION['questions'][$_SESSION['questioncourante']-1]['reponse']] ?>
	</div>
	<div id="testQuestion" class="testQuestion">
		<span class="contenu"><?= $_SESSION['questions'][$_SESSION['questioncourante']]['question'] ?></span>
	</div>
	<div id="testReponse1" class="testReponse1">
		<span class="contenu">
			<input type="radio" value="1" name="reponse" />
			<?= $_SESSION['questions'][$_SESSION['questioncourante']]['choix1'] ?>
		</span>
	</div>
	<div id="testReponse2" class="testReponse2">
		<span class="contenu">
			<input type="radio" value="2" name="reponse" />
			<?= $_SESSION['questions'][$_SESSION['questioncourante']]['choix2'] ?>
		</span>
	</div>
	<div id="testReponse3" class="testReponse3">
		<span class="contenu">
			<input type="radio" value="3" name="reponse" />
			<?= $_SESSION['questions'][$_SESSION['questioncourante']]['choix3'] ?>
		</span>
	</div>
	<div id="testReponse4" class="testReponse4">
		<span class="contenu">
			<input type="radio" value="4" name="reponse" />
			<?= $_SESSION['questions'][$_SESSION['questioncourante']]['choix4'] ?>
		</span>
	</div>
	<div id="testBouton" class="testBouton">
		<input class="bouton" type="submit" value="Valider" />
	</div>
	<div>
	  <input type="hidden" name="compteur" id="compteur" value="" />
	</div>  
</form>
<?php include("../include/bas.php"); ?>
